/*
 * @Author: your name
 * @Date: 2021-01-04 09:50:30
 * @LastEditTime: 2021-01-26 00:20:44
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \yellow-member-admin\src\api\index.js
 */
import { get, post } from '../plugin/axioz';


export default {
    login: params => post('/users/login', params),// 管理员用户登录
    getImgList: params => post('/sell_code', params),//获取销售人员列表
    addSell:params => post('/sell_code/add_sell', params , 'FromData'),//添加销售人员
    deleteImg:params => post('/sell_code/delete_img', params),//删除销售人员
    updateSeller:params => post('/sell_code/update_seller', params),//添加销售人员
    getPages:params => post('/page//list', params), //获取页面列表
    addPage:params => post('/page/add_page', params), //添加页面 
    addContent:params => post('/content/add_content', params , 'FromData'),//添加页面内容
    getContent:params => post('/content/page_content', params ),//获取页面内容
    delContent:params => post('/content/del_content', params ),//删除页面内容
    delPage:params => post('/page/del_page', params ),//删除页面
}

